package com.dragon.mmochat.message;

import com.dragon.mmochat.MmochatConstant;
import com.skymobi.buffer.SkymobiBuffer;
import com.skymobi.message.SkymobiProtocolMessage;

public class Mmochat_9_8C extends SkymobiProtocolMessage {
	int hallState;
	int teacher_roleId;
	int student_roleId;
	int ret;

	public Mmochat_9_8C() {
		setMsgCode(MmochatConstant.MSGCODE_MMOCHAT_C_9_8);
	}

	@Override
	protected void decodeBody(SkymobiBuffer in) {
		hallState = in.getUnsignedShort();
		teacher_roleId = in.getInt();
		student_roleId = in.getInt();
		ret = in.getInt();
	}

	public int getHallState() {
		return hallState;
	}

	public int getTeacher_roleId() {
		return teacher_roleId;
	}

	public int getStudent_roleId() {
		return student_roleId;
	}

	public int getRet() {
		return ret;
	}

}